HOME |  BACK |  NEXT |  _  WORDLIST |  TOPICS |  _  AUTHORS |  E-MAIL |  _  INDEX | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

WWWE LogoTopic:

<PRE> ... </PRE> Preformatted style

Definition:

<PRE> ... </PRE> provides a method of blocking off a section of text which is formatted for a monospaced font. With this tag you can easily reproduct charts, lists and other spacing dependant layouts in an HTML document.

Context:

<PRE> ... </PRE> is legal within:
<BLOCKQUOTE> <BODY> <DD> <FORM> <LI>

The following markup can be used within <PRE> ... </PRE>

<A> <B> <CITE> <CODE> <EM> <I> <KBD> <SAMP> <STRONG> <TT> <VAR>

Suggested style/usage:

When assembling text to use within a <PRE> ... </PRE> block, it's OK to use link tags and text controls. You can obtain line breaks just by using the return key, but because <PRE> text is typically set in a monospaced font (like Courier), try to keep line lengths at 80 columns or less. This tag is great for presenting text-only information, like .sig files or other e-mail information, or USENET news articles.

Example:

<PRE>

Product ID     Name                Cost
-----------------------------------------
201-23         Micro Widget        $.37
3024-2         Little Gizmo        $.02
23-5-2         Big Cog             $2.04
4-4-342345     Humungus Thingy     $14.91
</PRE>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

E-Mail: The World Wide Web Encyclopedia at wwwe@tab.com
E-Mail: Charles River Media at chrivmedia@aol.com
Copyright 1996 Charles River Media. All rights reserved.
Text - Copyright © 1995, 1996 - James Michael Stewart & Ed Tittel.
Web Layout - Copyright © 1995, 1996 - LANWrights & IMPACT Online.
Revised -- February 20th, 1996